package com.baizhiedu.baizhiappsys.entity;

import java.io.Serializable;

public class Course implements Serializable {
    private Long courseId;

    private String courseName;

    private String courseIntroduction;

    private Integer courseNumberStudents;

    private Double coursePrice;

    private String courseTeacher;

    private Integer courseClickVolume;

    private Long categoryId;

    private static final long serialVersionUID = 1L;

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getCourseIntroduction() {
        return courseIntroduction;
    }

    public void setCourseIntroduction(String courseIntroduction) {
        this.courseIntroduction = courseIntroduction;
    }

    public Integer getCourseNumberStudents() {
        return courseNumberStudents;
    }

    public void setCourseNumberStudents(Integer courseNumberStudents) {
        this.courseNumberStudents = courseNumberStudents;
    }

    public Double getCoursePrice() {
        return coursePrice;
    }

    public void setCoursePrice(Double coursePrice) {
        this.coursePrice = coursePrice;
    }

    public String getCourseTeacher() {
        return courseTeacher;
    }

    public void setCourseTeacher(String courseTeacher) {
        this.courseTeacher = courseTeacher;
    }

    public Integer getCourseClickVolume() {
        return courseClickVolume;
    }

    public void setCourseClickVolume(Integer courseClickVolume) {
        this.courseClickVolume = courseClickVolume;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", courseId=").append(courseId);
        sb.append(", courseName=").append(courseName);
        sb.append(", courseIntroduction=").append(courseIntroduction);
        sb.append(", courseNumberStudents=").append(courseNumberStudents);
        sb.append(", coursePrice=").append(coursePrice);
        sb.append(", courseTeacher=").append(courseTeacher);
        sb.append(", courseClickVolume=").append(courseClickVolume);
        sb.append(", categoryId=").append(categoryId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    public Course(Long courseId, String courseName, String courseIntroduction, Integer courseNumberStudents, Double coursePrice, String courseTeacher, Integer courseClickVolume, Long categoryId) {
        this.courseId = courseId;
        this.courseName = courseName;
        this.courseIntroduction = courseIntroduction;
        this.courseNumberStudents = courseNumberStudents;
        this.coursePrice = coursePrice;
        this.courseTeacher = courseTeacher;
        this.courseClickVolume = courseClickVolume;
        this.categoryId = categoryId;
    }
}